/** avatar start **/
.avatar-name {
    padding: 2px 5px;
    display: inline-block;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    color: var(--badge-font-color);
}

.avatar-text {
    position: relative;
    text-align: center;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    background: var(--badge-default-color);
    opacity : 0.8;
    font-size: 25px;
    height: 50px;
    line-height: 50px;
    width: 50px;
    border-radius: 50%;
    cursor:pointer;
    color: var(--badge-font-color);
}

.avatar-image {
    position: relative;
    text-align: center;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    opacity : 0.8;
    font-size: 25px;
    height: 50px;
    line-height: 50px;
    width: 50px;
    border-radius: 50%;
    cursor:pointer;
    color: var(--badge-font-color);
    object-fit: contain;
}

.avatar-name:hover, .avatar-text:hover{
    opacity:1;
    color: var(--font-hover-color);
    box-shadow: 0 2px 5px 1px var(--badge-shadow-color);
}

.avatar-text-sm {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
}
.avatar-text-xs {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 10px;
}

.avatar-sm {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
}
.avatar-xs {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 10px;
}
/** avatar end **/
